﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="T_ImportPage.aspx.cs" Inherits="T_ImportPage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
</head>
<body>
    <form id="form1" runat="server">
    
             <div>
                <asp:LinkButton ID="LinkButton1" runat="server" Font-Underline="False" >首页</asp:LinkButton>
                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
                <br />
                <br />
                <br />
           </div>   
            <div>
                   <asp:FileUpload ID="fileUpload" runat="server" Width="403px" />
                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
                   <asp:Button ID="btnExport" runat="server" Text="导入到SQL Server" OnClick="btnExport_Click" /><br /> &nbsp;<br />　
            </div> 
            <div>
                <asp:DropDownList ID="DL1" runat="server" Width="198px" AutoPostBack="True" OnTextChanged="DL1_TextChanged">
                <asp:ListItem>请选择导出数据</asp:ListItem>
                <asp:ListItem>全部导出</asp:ListItem>
                <asp:ListItem>按学期导出</asp:ListItem>    
                </asp:DropDownList>
                <asp:DropDownList ID="DL2" runat="server" Width="198px">
                    <asp:ListItem>请选择学期</asp:ListItem>
                    <asp:ListItem>大一上学期</asp:ListItem>
                    <asp:ListItem>大一下学期</asp:ListItem>   
                    <asp:ListItem>大二上学期</asp:ListItem>
                    <asp:ListItem>大二下学期</asp:ListItem>   
                    <asp:ListItem>大三上学期</asp:ListItem>
                    <asp:ListItem>大三下学期</asp:ListItem>   
                    <asp:ListItem>大四上学期</asp:ListItem>
                    <asp:ListItem>大四下学期</asp:ListItem>  
                </asp:DropDownList>
                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<asp:Button ID="Button1" runat="server" Text="导出到Excel" OnClick="Button1_Click" />
                <br />
                <br />
                <br />

            </div>
            <div>
                <asp:DropDownList ID="DL3" runat="server" Width="198px" AutoPostBack="True" OnTextChanged="DL3_TextChanged">
                    <asp:ListItem>请选择删除数据</asp:ListItem>
                    <asp:ListItem>全部删除</asp:ListItem>
                    <asp:ListItem>按学期删除</asp:ListItem>    
                </asp:DropDownList>
                <asp:DropDownList ID="DL4" runat="server" Width="198px">
                    <asp:ListItem>请选择学期</asp:ListItem>
                    <asp:ListItem>大一上学期</asp:ListItem>
                    <asp:ListItem>大一下学期</asp:ListItem>   
                    <asp:ListItem>大二上学期</asp:ListItem>
                    <asp:ListItem>大二下学期</asp:ListItem>   
                    <asp:ListItem>大三上学期</asp:ListItem>
                    <asp:ListItem>大三下学期</asp:ListItem>   
                    <asp:ListItem>大四上学期</asp:ListItem>
                    <asp:ListItem>大四下学期</asp:ListItem>  
                </asp:DropDownList>
                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
                <asp:Button ID="Button2" runat="server" Text="删除表中数据" OnClick="Button2_Click" />
            </div>
    </form>
</body>
</html>
